<?php
$interfaces = array();
$interfaces['assignable'] = "./core/core/view/view_interfaces/assignable.php";
$interfaces['renderable'] = "./core/core/view/view_interfaces/renderable.php";
try {
	foreach($inerfaces as $key => $value){
		if(file_exists($value)){
			require_once($value);
		}
		else {
			throw new Exception('Nie można załadować pliku: '.$value);
		}
	}
}
catch(Exception $e){
	return $e->getMessage();
}